import { BaseModel, DoctorModel, ClinicAddressModel } from "../index";

export class DoctorGrouponModel extends BaseModel {

    /**
     * 医生id
     */
    doctorId: number;
        /**
     * 编号
     */
    grouponNo:any;
    /**
     * 诊所id
     */
    clinicId: number;
    /**
     * 团购标题
     */
    title: string;
    /**
     * 生效时间
     */
    startTime: Date;
    /**
     * 过期时间
     */
    endTime: Date;
    /**
     * 就诊时间
     */
    visitTime: Date;
    /**
     * 最大参团人数
     */
    offeredCount: number;
    /**
     * 已参团人数
     */
    joinCount: number;

    groupCount: number;//成团人数
    /**
     * 团购价格
     */
    price: number;
    /**
     * 团购内容
     */
    content: string;

    doctorBO: DoctorModel

    clinicAddressBO: ClinicAddressModel

    latitude: any;
    longitude: any;

    distance: string;

    status: any;

    // 省
    grouponProvince: string;
    // 市
    grouponCity: string;
    // 区
    grouponDistrict: string;
    clinicBiHospitalBO: any;
}